public class 静态代码块 {
    static {
        System.out.println("静态代码块 static");
    }

    public static void main(String[] args) {
        MyClass myClass = new MyClass();
    }
}

class MyClass {
    public MyClass() {
        System.out.println("myclass constructor");
    }

    static {
        System.out.println("myclass static");
    }
}
